/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.subgoods.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 认购商品Entity
 * @author w
 * @version 2021-03-25
 */
public class GoodsQuotation extends DataEntity<GoodsQuotation> {

	private static final long serialVersionUID = 1L;
	private String goodsId;			//商品id
	private String goodsName;		// 商品名称
	private Double totalPrice;		//当天成交额
	private Double price;			//成本价格
	private Double upPercent;		//涨跌幅
	private Double upPrice;			//涨跌价格
	private Double highest;			//最高
	private Double minimum;			//最低
	private Double todayPrice;		//今日开盘成交价
	private Double yesterdayPrice;	//昨日收盘最后成交价
	private Integer	totalNum;		//总成交量

	private Integer stock;   //显示库存
	private Date sortDate;

	public GoodsQuotation() {
		super();
	}

	public GoodsQuotation(String id){
		super(id);
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public Double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getUpPercent() {
		return upPercent;
	}

	public void setUpPercent(Double upPercent) {
		this.upPercent = upPercent;
	}

	public Double getUpPrice() {
		return upPrice;
	}

	public void setUpPrice(Double upPrice) {
		this.upPrice = upPrice;
	}

	public Double getHighest() {
		return highest;
	}

	public void setHighest(Double highest) {
		this.highest = highest;
	}

	public Double getMinimum() {
		return minimum;
	}

	public void setMinimum(Double minimum) {
		this.minimum = minimum;
	}

	public Double getTodayPrice() {
		return todayPrice;
	}

	public void setTodayPrice(Double todayPrice) {
		this.todayPrice = todayPrice;
	}

	public Double getYesterdayPrice() {
		return yesterdayPrice;
	}

	public void setYesterdayPrice(Double yesterdayPrice) {
		this.yesterdayPrice = yesterdayPrice;
	}

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public Date getSortDate() {
		return sortDate;
	}

	public void setSortDate(Date sortDate) {
		this.sortDate = sortDate;
	}
}